/**
*** 
***************************************************************
***     Copyright (c) 2016 Queclink Ltd.   
***
***         dev_mx25.h
***         dev mx25f 
***         johar.xiao
***     2016-11-24
***     AADL LEVEL file
***     FLASH 的读/ 写/ 其他的操作接口,对
**************************************************************
***
**/

#ifdef __cplusplus
    extern "C"{
#endif

#ifndef _FLASH_DEV_MX25_H_
#define _FLASH_DEV_MX25_H_

#include "dev_comm_conf.h"
#include <flash/config.h>


typedef enum {
    PAGE=0,
    SECTOR,
    BLOCK,
    CHIP,
}operation_type;

void flash_dev_enter_lowpower(void);
void flash_dev_leave_lowpower(void);

#endif


#ifdef __cplusplus
    }
#endif
/** END FO FILE **/

